<?php
include 'htsdk.php';
$app_id = '123456';
$app_secret = '1234567890';
$sdk = new htsdk($app_id, $app_secret);

$task_id = '10004';
$pay_price = 4;
$payment = 'wxpay'; //wxpay alipay
$res = $sdk->execute($task_id, $pay_price, $payment);
echo json_encode($res);
exit;
?>